Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

146
Vistas
return to the same script event by click "back" button in the browser

I have HTML form (buttons, inputs, etc). Each component as its own event that trigger specific script. I want the browser to remember which action happened when the user press the "back" button. (Example: If the user presses the 'blue button', then he can return to the same place when he clicks "back" in the browser).

I thought of doing this by using local storage in every event that triggered. Then at the beginning of the code to check which local storage is exist and trigger the event again.

But it seems ineffective to me. Anyone have a better idea?

Thanks.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda